package com.zb.service.impl;

import com.zb.entity.GoodsSelect;
import com.zb.mapper.GoodsMapper;
import com.zb.service.GoodsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 商品服务实现类
 * @Author WEN
 * @Date 2023/9/6 0006
 **/
@Service
public class GoodsServiceImpl implements GoodsService {
    @Resource
    private GoodsMapper goodsMapper;

    // 分页获取商品ID
    @Override
    public List<Long> pageGetGoodsIds(GoodsSelect goodsSelect) {
        return goodsMapper.pageGetGoodsIds(goodsSelect);
    }
}
